FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.

215

FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. -

# Create the new row as its own dataframe
df_new_row = pd.DataFrame({ 'a': [1], 'b': [2] })
df = pd.concat([df, df_new_row])

Comments

Submit
0 Comments